package ${packageName}.api.controller;

import ${packageName}.api.service.I${className}Service;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.Api;
import javax.annotation.Resource;

@Api(tags = "${remark}接口")
@RestController
@RequestMapping("/api/${lowerClassName}")

public class ${className}ApiController {

    @Resource
    private I${className}Service ${lowerClassName}Service;

    /**
     * 基本操作方法接口${remark}
     * @return
     */
    @PostMapping("/doBase")
    @ApiOperation(value = "${remark} 模块的基本操作接口  modal:su-保存修改,del-删除,page-分页,get-获取单个详情")
    public Object save(@RequestParam("param")String param,@RequestParam("modal") String modal){
        return  ${lowerClassName}Service.doBase(param,modal);
    }




}
